package cn.com.cis.persistence;

import java.util.List;

import cn.com.cis.domain.Privilege;
import cn.com.cis.domain.Role;
import cn.com.cis.domain.User;

public interface PrivilegeMapper {
	void insertPrivilegeItem(Privilege privilege);
	
	void clearAll();
	
	List<Privilege> selectPrivileges();
	
	List<String> selectCurrentUserUrls(User user);
	
	List<String> selectRoleUrls(Role role);

	List<String> selectAdminUrls();
}
